﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ViewModel.admin
{
    public class sys_adminVm
    {
        
        public int id { get; set; }
        
        public string admin_guid { get; set; }

        [Required(ErrorMessage = "必填")]
        public string admin_name { get; set; }

        [Required(ErrorMessage = "必填")]
        public string admin_password { get; set; }

        [Required(ErrorMessage = "必填")]
        public string admin_oldpassword { get; set; }

        public int org_id { get; set; }
        
        public string member_name { get; set; }

        public int member_id { get; set; }

        public DateTime admin_login_time { get; set; }


        public int admin_login_num { get; set; }

        [Required(ErrorMessage = "必填")]
        public string admin_tel { get; set; }

        public bool admin_is_super { get; set; }
        
        public int admin_gid { get; set; }

        public int admin_status { get; set; } = 1;

    }
}
